<template>
  <div id="app">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="入库申请" name="GatherApply">
        <gather-apply></gather-apply>
      </el-tab-pane>
      <el-tab-pane label="入库审核" name="GatherCheck">
        <gather-check></gather-check>
      </el-tab-pane>
      <el-tab-pane label="入库调度" name="GatherTransfer">
        <gather-transfer></gather-transfer>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import GatherApply from '@/views/management/warehouse/GatherApply'
import GatherCheck from '@/views/management/warehouse/GatherCheck'
import GatherTransfer from '@/views/management/warehouse/GatherTransfer'

export default {
  components: {
    GatherApply,
    GatherCheck,
    GatherTransfer
  },
  data() {
    return {
      activeName: 'GatherApply'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>

<style scoped>

</style>